package 泛型;


public interface Collection<V> {
    public int max(V v);

    //?代表的是类型通配符
    public boolean addAll(Collection<? extends V> collection);

    //声明泛型化方法
    public <T> T max(boolean bool, T t1, T t2);
}
